<?php

namespace pam\Factory;

/**
 * Description of HealthPolicyServiceFactory
 *
 * @author Robert Bwana <robert.bwana@ssra.go.tz>
 */

use pam\Service\HealthPolicyService;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;

class HealthPolicyServiceFactory implements FactoryInterface{
    public function createService(ServiceLocatorInterface $serviceLocator) {
        return new HealthPolicyService($serviceLocator->get('pam\Mapper\HealthPolicyDataAccess'));
    }

}
